package com.dingwen.treasure.business.controller;

import com.dingwen.treasure.base.controller.BaseViewController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 　ExceptionController
 * 　@author dingwen
 * 　@date 2022/6/9
 */
@Api(tags = "全局异常处理测试")
@RestController
@RequestMapping("exception")
public class ExceptionController implements BaseViewController {

    /**
     * 测验
     */
    @ApiOperation("测试")
    @GetMapping
    public void test() {
        int num = 1 / 0;
    }
}
